﻿using cludg.Web.Core.Controllers;

namespace cludg.Web.Core.Utils
{
	public static class CaptchaUtil
	{
		public static bool NeedUseCaptcha(BaseController controller)
		{
			var id = controller.GetAuthenticatedUser();
			return string.IsNullOrEmpty(id);
		}
	}
}
